/**
 * @description  : 根据许可证号-展示许可证相关信息的组件
 * @descriptionDetail : 根据许可证号-展示许可证相关信息的组件
 * @copyright    : 浙江烟草
 * @author       : mwq
 * @create       : 2022-12-05 11:02:35
 */
<template>
  <u-row>
    <u-col span="1.5" text-align="right">
      <u-icon size="20px" :name="positiveImg"></u-icon>
    </u-col>
    <u-col span="10.5">
      <u-row>
        <u-col span="2.5" style="font-size:32rpx;color:#333333;font-weight:bold;">
          {{ dictList.contractPerson }}
        </u-col>
        <u-col span="6" style="border-left: 1rpx solid #DDDDDD ;font-size:32rpx;color:#333333;font-weight:bold;" text-align="center">
          {{ dictList.licNo }}
        </u-col>
        <u-col span="3" style="font-size:20rpx;color:#666666;">
          许可证
        </u-col>
      </u-row>
      <u-row>
        <u-col span="12" style="font-size:20rpx;color:#666666;margin-top:10rpx;">
          地址：{{ dictList.businessAddr }}
        </u-col>
      </u-row>
    </u-col>
  </u-row>
</template>

<script>
import checkService from "@/service/check/check.service"
export default {
  props: {
    licNo: { // 许可证号
      type: String,
      default: '',
    },
  },
  data() {
    return {
      dictList: [],
      positiveImg:require('@/static/storage/b_smoke.png'),
    }
  },
  mounted(){
    checkService.getRetailerInfo(this.licNo).then(dr => {
      this.dictList = dr.bean;
    });
  },
}
</script>